package JieKou;

/**
 * 跳水运动员
 */

public class DiveAthlete extends Athlete implements Dive{
    public DiveAthlete(){
    }
    public DiveAthlete(String name,int age){
        super(name,age);
    }

    @Override
    public void dive() {
        System.out.println(this.getName()+"擅长跳水");

    }
}
